<script setup lang="ts">
// 1. 接收父组件传递的props
defineProps<{
  title?: string
  size?: string
  value?: string
  label?:string
  to?:string
  isLink?:boolean,
  inset?:boolean
}>()
// 子传父
const emit = defineEmits<{
(e:'click'):void
}>()
</script>

<template>
 <van-cell-group inset>
    <van-cell :title="title" :value="value" :label="label" :to="to" :isLink="isLink" @click="emit('click')" :inset="inset"/>
  </van-cell-group>
</template>

<style lang="scss" scoped></style>

  